package org.example.domain.shop.service.update;


import org.example.domain.shop.adapter.repository.IShopRepository;
import org.example.domain.shop.model.entity.ProductEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author yinghuashen
 * @version 1.0
 * @description
 * @date 2025/3/10 21:59
 */

@Service
public class UpdateService implements IUpdateService{

    @Resource
    private IShopRepository shopRepository;

    @Override
    public boolean updateProductBasicInfo(ProductEntity productEntity) {

//        shopRepository.updateProductBasicInfo(productEntity);

        return true;
    }

    @Override
    public boolean updateProductInventoryInfo(ProductEntity productEntity) {
        return false;
    }
}
